import { ITheme } from "./type";

//处理主题配置
export const dealTheme = (theme: ITheme) => {
    let newTheme: ITheme = {};
    for (let i in theme) {
        newTheme[`--` + i] = theme[i]
    };
    return newTheme
}